import request from '@/utils/request'

//登录接口
export const userLoginService = ({ username, password }) => {
  return request({
    url: '/api/login',
    method: 'post',
    data: { username, password }
  })
  // return request.post('/api/login', { username, password })
}
